import {Routes} from 'Shared/utils/routeManager';
import {formatMessage} from './intl';
const routes = new Routes({
    query: {
        url: '/',
        title: formatMessage({
            id: 'routes.query',
            defaultMessage: '列表'
        })
    },
    deliveryOrder: {
        url: '/deliveryOrder',
        title: formatMessage({
            id: 'routes.deliveryOrder',
            defaultMessage: '交货单状态修改'
        }),
        format: '/deliveryOrder'
    },
    partSaleOrder: {
        url: '/partSaleOrder',
        title: formatMessage({
            id: 'routes.partSaleOrder',
            defaultMessage: '销售订单状态修改'
        }),
        format: '/partSaleOrder'
    },
});

export default routes;
